import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] arr = new int[1];
		String str = null;
		  while(sc.hasNext()){
			try{
			String chioce = sc.next();
			switch(chioce){
			
			case"arr":
				int a = sc.nextInt();
				arr[a] = 1;
				break;
			case"null":
				str.length();
				break;
			case"cast":
				Object o = new String("str");
				Integer x = (Integer)o;
				break;
			case"num":
				String intNum = sc.next();
				Integer.parseInt(intNum);
				break;
			default:
				break;	
			}
			
			}catch(Exception e){
				System.out.println(e);
			}
		}
	}
}
